﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" culture="auto" meta:resourcekey="PageResource1" uiculture="auto" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>

    <form id="form1" runat="server">
<%--    <h1>Advanced Calculator</h1>
    <form id="form1" runat="server">
    <div>
        Number 1 (double): <input type="textbox" name="text1" value="Number One" />
        <p> Number 2 (double): <input type="textbox" name="text1" value="Number One" /> </p>
        <input type="submit" name="calc" value="Calculate" />
        <p>Result: <input type="textbox" name="result" value="Result"/></p>
        <br />
        <input type="radio" name="action" value="sum"/> Sum <br />
        <input type="radio" name="action" value="multiply" /> Multiply <br />
        <input type="radio" name="action" value="subtract" /> Subtract <br />
        <input type="radio" name="action" value="divide" /> Divide <br />

        <textarea id ="history" ></textarea>

    </div>
    </form>--%>
        <asp:Label ID="LabelHeader" runat="server" Font-Bold="True" Font-Size="XX-Large" Text="Advanced Calculator" meta:resourcekey="LabelHeaderResource1"></asp:Label>
        <br />
        <br />
        <asp:Label ID="Label2" runat="server" Font-Size="Medium" Text="Number 1 (double): " meta:resourcekey="Label2Resource1"></asp:Label>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:TextBox ID="TextBox1" runat="server" meta:resourcekey="TextBox1Resource1"></asp:TextBox>
        <br />
        <asp:Label ID="Label3" runat="server" Text="Number 2 (double): " meta:resourcekey="Label3Resource1"></asp:Label>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:TextBox ID="TextBox2" runat="server" meta:resourcekey="TextBox2Resource1"></asp:TextBox>
        <br />
        <br />
        <asp:Button ID="BtnCalc" runat="server" Text="Calculate" OnClick="BtnCalc_Click" meta:resourcekey="BtnCalcResource1" />
        <br />
        <br />
        <asp:Label ID="Label4" runat="server" Font-Size="Medium" Text="Result:" meta:resourcekey="Label4Resource1"></asp:Label>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:TextBox ID="TextBox3" runat="server" Width="279px" meta:resourcekey="TextBox3Resource1"></asp:TextBox>
        <br />
        <br />
        <asp:RadioButtonList ID="RadioButtonList1" runat="server" OnSelectedIndexChanged="RadioButtonList1_SelectedIndexChanged" meta:resourcekey="RadioButtonList1Resource1">
            <asp:ListItem Value="sum" meta:resourcekey="ListItemResource1">Sum</asp:ListItem>
            <asp:ListItem Value="multiply" meta:resourcekey="ListItemResource2">Multiply</asp:ListItem>
            <asp:ListItem Value="subtract" meta:resourcekey="ListItemResource3">Subtract</asp:ListItem>
            <asp:ListItem Value="divide" meta:resourcekey="ListItemResource4">Divide</asp:ListItem>
        </asp:RadioButtonList>
        <br />
        <asp:ListBox ID="ListBox1" runat="server" Height="101px" Width="321px" meta:resourcekey="ListBox1Resource1"></asp:ListBox>
        <br />
        <br />
        <asp:CheckBox ID="CheckBox1" runat="server" OnCheckedChanged="CheckBox1_CheckedChanged" Text="Add List Item" meta:resourcekey="CheckBox1Resource1" />
        <br />
        <br />
        <asp:Button ID="Button2" runat="server" Text="Clear All Fields" Width="108px" OnClick="Button2_Click" meta:resourcekey="Button2Resource1" />
        <br />
        <br />
        <asp:Label ID="Label5" runat="server" Text="<%$ Resources:Resource, Msg1 %>"></asp:Label>
    </form>
</body>
</html>
